using System;
using System.Collections.Generic;
using System.Text;

namespace CodeStory.News.ObjectEntity
{

	using Activa.CoolStorage;
	#region NewsContentObject
	/// <summary>
	/// This object represents the properties and methods of a NewsContentObject.
	/// </summary>
	[MapTo("News_Contents")]
	public abstract partial class NewsContentObject : CSObject<NewsContentObject, Guid>
	{
		public abstract Guid NewsID {
			get;
			set;
		}
		public abstract Guid CategoryID {
			get;
			set;
		}
		public abstract string NewsTitle {
			get;
			set;
		}
		public abstract string Author {
			get;
			set;
		}
		public abstract DateTime PostDate {
			get;
			set;
		}
		public abstract string NewsSummary {
			get;
			set;
		}
		[Lazy]
		public abstract string NewsContent {
			get;
			set;
		}
	}
	#endregion

}
